package com.example.activiti.dto.publicDto;

import java.io.Serializable;
import java.util.Date;
import java.util.List;
import java.util.Map;

import org.activiti.engine.identity.User;

public class ActivitiResponseDto implements Serializable {
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	//流程部署id
	public String deploymentId;
	//任务id
	public String taskId;
	//审核账户
	public String taskCheckAssignee;
	//本节点的审批意见
	public String taskOpinion = "";
	//任务名称
	public String taskName;
	//任务创建时间
	public Date taskCreateDate;
	//任务委派人
	public String assignee;
	// 获取流程实例的id
	public String instanceId;
	//流程定义的id
	public String processDefinitionId;
	//获取流程名称
	public String processDefinitionName;
	//传入的form参数
	Map<String, Object> paramMap;
	//上一节点的taskId
	public String lastTaskId;
	//上一节点的审批意见
	public String lastTaskOpinion = "";
	//下一节点的所有用户
	public List<User> nextManagers;
	//0 正常、1 拒绝、2 通过。查看枚举类InstanceStatus
	public Integer checkStatus;
	
	public String getInstanceId() {
		return instanceId;
	}
	public void setInstanceId(String instanceId) {
		this.instanceId = instanceId;
	}
	public String getProcessDefinitionId() {
		return processDefinitionId;
	}
	public void setProcessDefinitionId(String processDefinitionId) {
		this.processDefinitionId = processDefinitionId;
	}
	public String getProcessDefinitionName() {
		return processDefinitionName;
	}
	public void setProcessDefinitionName(String processDefinitionName) {
		this.processDefinitionName = processDefinitionName;
	}
	public String getTaskId() {
		return taskId;
	}
	public void setTaskId(String taskId) {
		this.taskId = taskId;
	}
	public String getAssignee() {
		return assignee;
	}
	public void setAssignee(String assignee) {
		this.assignee = assignee;
	}
	public String getTaskName() {
		return taskName;
	}
	public void setTaskName(String taskName) {
		this.taskName = taskName;
	}
	public Date getTaskCreateDate() {
		return taskCreateDate;
	}
	public void setTaskCreateDate(Date taskCreateDate) {
		this.taskCreateDate = taskCreateDate;
	}
	public Map<String, Object> getParamMap() {
		return paramMap;
	}
	public void setParamMap(Map<String, Object> paramMap) {
		this.paramMap = paramMap;
	}
	public String getTaskOpinion() {
		return taskOpinion;
	}
	public void setTaskOpinion(String taskOpinion) {
		this.taskOpinion = taskOpinion;
	}
	public String getLastTaskId() {
		return lastTaskId;
	}
	public void setLastTaskId(String lastTaskId) {
		this.lastTaskId = lastTaskId;
	}
	public String getLastTaskOpinion() {
		return lastTaskOpinion;
	}
	public void setLastTaskOpinion(String lastTaskOpinion) {
		this.lastTaskOpinion = lastTaskOpinion;
	}
	public List<User> getNextManagers() {
		return nextManagers;
	}
	public void setNextManagers(List<User> nextManagers) {
		this.nextManagers = nextManagers;
	}
	public Integer getCheckStatus() {
		return checkStatus;
	}
	public void setCheckStatus(Integer checkStatus) {
		this.checkStatus = checkStatus;
	}
	public String getTaskCheckAssignee() {
		return taskCheckAssignee;
	}
	public void setTaskCheckAssignee(String taskCheckAssignee) {
		this.taskCheckAssignee = taskCheckAssignee;
	}
	public String getDeploymentId() {
		return deploymentId;
	}
	public void setDeploymentId(String deploymentId) {
		this.deploymentId = deploymentId;
	}
}
